<template>
	<div>
		<h1>欢迎</h1>
	</div>
</template>

<script>
	export default {
		data () {
			return {
				
			}
		},
		async created() {
			const { data: res } = await this.$http.get('/user/v1/testToken')
			console.log(res)
			if (res.code == 0) {
				this.$router.push('/')
				localStorage.removeItem('token')
			}
		}
	}
</script>

<style>
</style>
